package com.translate.web.param;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IFollowUpRecordsAddParam;

public class FollowUpRecordsAddParam implements IFollowUpRecordsAddParam {

	/**
	 * 跟进内容
	 */
	@NotNull
	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
	private String content;

	/**
	 * 跟进类型0 会话沟通 1外勤拜访
	 */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
	@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
	private Byte category;
	
	/**
	 * 客户编号
	 */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	private Integer customerId;

	/**
	 * 下次联系时间
	 */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_CREATE_TIME, message = ValidateCondtionAndMessage.CREATE_TIME_BY_MSG)
	private Long nextTime;

	/**
	 * 创建人ID
	 */
	private int createUserId;

	/**
	 * 图片
	 */
	
	private String image;

	
	
	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	/**
	 * 跟进内容
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @return content 跟进内容
	 */
	public String getContent() {
		return content;
	}

	/**
	 * 跟进内容
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @param content 跟进内容
	 */
	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	/**
	 * 跟进类型0 会话沟通 1外勤拜访
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @return category 跟进类型0 会话沟通 1外勤拜访
	 */
	public Byte getCategory() {
		return category;
	}

	/**
	 * 跟进类型0 会话沟通 1外勤拜访
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @param category 跟进类型0 会话沟通 1外勤拜访
	 */
	public void setCategory(Byte category) {
		this.category = category;
	}

	/**
	 * 下次联系时间
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @return next_time 下次联系时间
	 */
	public Long getNextTime() {
		return nextTime;
	}

	/**
	 * 下次联系时间
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @param nextTime 下次联系时间
	 */
	public void setNextTime(Long nextTime) {
		this.nextTime = nextTime;
	}

	/**
	 * 创建人ID
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @return create_user_id 创建人ID
	 */
	public int getCreateUserId() {
		return createUserId;
	}

	/**
	 * 创建人ID
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @param createUserId 创建人ID
	 */
	public void setCreateUserId(int createUserId) {
		this.createUserId = createUserId;
	}

	/**
	 * 图片
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @return image 图片
	 */
	public String getImage() {
		return image;
	}

	/**
	 * 图片
	 * 
	 * @author 111
	 * @date 2023-04-07 11:19:05
	 * @param image 图片
	 */
	public void setImage(String image) {
		this.image = image == null ? null : image.trim();
	}
}